const state = ()=>({
  position: true,
  auth:null
})

const mutations = {
  setPositionmun(state, val) {
    console.log('11111111')
    // state.position = val
  },
  setPosition1(state, val) {
    state.position =false
    // state.position = val
  },
  setAuth(state, val) {
    state.auth =val
    // state.position = val
  },
}

const actions = {
  setPosition: ({commit}, position)=>{
 
    console.log('setPosition')
    // commit('setPosition', position)
  }
}


export default {
  namespaced: true,
  state,
  mutations,
  actions
}
